class DriverReceivables {
  String appid;
  String partnerid;
  String noncestr;
  String prepayid;
  num timestamp;
  String package;
  String sign;
  String outTradeNo;
  String codeUrl;

  DriverReceivables(
      {this.appid,
      this.partnerid,
      this.noncestr,
      this.prepayid,
      this.timestamp,
      this.package,
      this.sign,
      this.outTradeNo,
      this.codeUrl});

  DriverReceivables.fromJson(Map<String, dynamic> json) {
    appid = json['appid'];
    partnerid = json['partnerid'];
    noncestr = json['noncestr'];
    prepayid = json['prepayid'];
    timestamp = json['timestamp'];
    package = json['package'];
    sign = json['sign'];
    outTradeNo = json['out_trade_no'];
    codeUrl = json['code_url'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['appid'] = this.appid;
    data['partnerid'] = this.partnerid;
    data['noncestr'] = this.noncestr;
    data['prepayid'] = this.prepayid;
    data['timestamp'] = this.timestamp;
    data['package'] = this.package;
    data['sign'] = this.sign;
    data['out_trade_no'] = this.outTradeNo;
    data['code_url'] = this.codeUrl;
    return data;
  }
}
